using DG.Tweening;
using UnityEngine;
using UnityEngine.SceneManagement;

public class Main : MonoBehaviour
{
    static GameManager m_GameManager;
    private void Awake()
    {
        DOTween.SetTweensCapacity(200, 125);
        if (!m_GameManager)
        {
            var gmObj = new GameObject();
            m_GameManager = gmObj.AddComponent<GameManager>();
            m_GameManager.name = "GameManager";
            DontDestroyOnLoad(gmObj);
            SceneManager.sceneLoaded += m_GameManager.OnSceneLoaded;
        }
    }
    void Start()
    {

    }

    // Update is called once per frame
    void Update()
    {

    }
}
